package com.aos.erp.manager.enums.student;

import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

public enum RegionType implements IEnum {
    country(0, "国家"),
    province(1, "省"),
    city(2, "市"),
    area(3, "区/县");

    private int value;
    private String desc;

    @Override
    public Serializable getValue() {
        return this.value;
    }

    RegionType(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getDesc() {
        return this.desc;
    }
}
